﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200109B RID: 4251
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RotateMapCsReq : IMessage<RotateMapCsReq>, IMessage, IEquatable<RotateMapCsReq>, IDeepCloneable<RotateMapCsReq>, IBufferMessage
	{
		// Token: 0x170035A0 RID: 13728
		// (get) Token: 0x0600BDD3 RID: 48595 RVA: 0x001FFE87 File Offset: 0x001FE087
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RotateMapCsReq> Parser
		{
			get
			{
				return RotateMapCsReq._parser;
			}
		}

		// Token: 0x170035A1 RID: 13729
		// (get) Token: 0x0600BDD4 RID: 48596 RVA: 0x001FFE8E File Offset: 0x001FE08E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RotateMapCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170035A2 RID: 13730
		// (get) Token: 0x0600BDD5 RID: 48597 RVA: 0x001FFEA0 File Offset: 0x001FE0A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RotateMapCsReq.Descriptor;
			}
		}

		// Token: 0x0600BDD6 RID: 48598 RVA: 0x001FFEA7 File Offset: 0x001FE0A7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotateMapCsReq()
		{
		}

		// Token: 0x0600BDD7 RID: 48599 RVA: 0x001FFEB0 File Offset: 0x001FE0B0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotateMapCsReq(RotateMapCsReq other) : this()
		{
			this.motion_ = ((other.motion_ != null) ? other.motion_.Clone() : null);
			this.groupId_ = other.groupId_;
			this.bMOBDFECHFF_ = other.bMOBDFECHFF_;
			this.rogueMap_ = ((other.rogueMap_ != null) ? other.rogueMap_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BDD8 RID: 48600 RVA: 0x001FFF24 File Offset: 0x001FE124
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotateMapCsReq Clone()
		{
			return new RotateMapCsReq(this);
		}

		// Token: 0x170035A3 RID: 13731
		// (get) Token: 0x0600BDD9 RID: 48601 RVA: 0x001FFF2C File Offset: 0x001FE12C
		// (set) Token: 0x0600BDDA RID: 48602 RVA: 0x001FFF34 File Offset: 0x001FE134
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MotionInfo Motion
		{
			get
			{
				return this.motion_;
			}
			set
			{
				this.motion_ = value;
			}
		}

		// Token: 0x170035A4 RID: 13732
		// (get) Token: 0x0600BDDB RID: 48603 RVA: 0x001FFF3D File Offset: 0x001FE13D
		// (set) Token: 0x0600BDDC RID: 48604 RVA: 0x001FFF45 File Offset: 0x001FE145
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GroupId
		{
			get
			{
				return this.groupId_;
			}
			set
			{
				this.groupId_ = value;
			}
		}

		// Token: 0x170035A5 RID: 13733
		// (get) Token: 0x0600BDDD RID: 48605 RVA: 0x001FFF4E File Offset: 0x001FE14E
		// (set) Token: 0x0600BDDE RID: 48606 RVA: 0x001FFF56 File Offset: 0x001FE156
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint BMOBDFECHFF
		{
			get
			{
				return this.bMOBDFECHFF_;
			}
			set
			{
				this.bMOBDFECHFF_ = value;
			}
		}

		// Token: 0x170035A6 RID: 13734
		// (get) Token: 0x0600BDDF RID: 48607 RVA: 0x001FFF5F File Offset: 0x001FE15F
		// (set) Token: 0x0600BDE0 RID: 48608 RVA: 0x001FFF67 File Offset: 0x001FE167
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NewMapRot RogueMap
		{
			get
			{
				return this.rogueMap_;
			}
			set
			{
				this.rogueMap_ = value;
			}
		}

		// Token: 0x0600BDE1 RID: 48609 RVA: 0x001FFF70 File Offset: 0x001FE170
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RotateMapCsReq);
		}

		// Token: 0x0600BDE2 RID: 48610 RVA: 0x001FFF80 File Offset: 0x001FE180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RotateMapCsReq other)
		{
			return other != null && (other == this || (object.Equals(this.Motion, other.Motion) && this.GroupId == other.GroupId && this.BMOBDFECHFF == other.BMOBDFECHFF && object.Equals(this.RogueMap, other.RogueMap) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BDE3 RID: 48611 RVA: 0x001FFFF4 File Offset: 0x001FE1F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.motion_ != null)
			{
				num ^= this.Motion.GetHashCode();
			}
			if (this.GroupId != 0U)
			{
				num ^= this.GroupId.GetHashCode();
			}
			if (this.BMOBDFECHFF != 0U)
			{
				num ^= this.BMOBDFECHFF.GetHashCode();
			}
			if (this.rogueMap_ != null)
			{
				num ^= this.RogueMap.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BDE4 RID: 48612 RVA: 0x00200078 File Offset: 0x001FE278
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BDE5 RID: 48613 RVA: 0x00200080 File Offset: 0x001FE280
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BDE6 RID: 48614 RVA: 0x0020008C File Offset: 0x001FE28C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.BMOBDFECHFF != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.BMOBDFECHFF);
			}
			if (this.rogueMap_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.RogueMap);
			}
			if (this.GroupId != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.GroupId);
			}
			if (this.motion_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.Motion);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BDE7 RID: 48615 RVA: 0x00200120 File Offset: 0x001FE320
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.motion_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.Motion);
			}
			if (this.GroupId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GroupId);
			}
			if (this.BMOBDFECHFF != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.BMOBDFECHFF);
			}
			if (this.rogueMap_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueMap);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BDE8 RID: 48616 RVA: 0x002001A8 File Offset: 0x001FE3A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RotateMapCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.motion_ != null)
			{
				if (this.motion_ == null)
				{
					this.Motion = new MotionInfo();
				}
				this.Motion.MergeFrom(other.Motion);
			}
			if (other.GroupId != 0U)
			{
				this.GroupId = other.GroupId;
			}
			if (other.BMOBDFECHFF != 0U)
			{
				this.BMOBDFECHFF = other.BMOBDFECHFF;
			}
			if (other.rogueMap_ != null)
			{
				if (this.rogueMap_ == null)
				{
					this.RogueMap = new NewMapRot();
				}
				this.RogueMap.MergeFrom(other.RogueMap);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BDE9 RID: 48617 RVA: 0x00200250 File Offset: 0x001FE450
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BDEA RID: 48618 RVA: 0x0020025C File Offset: 0x001FE45C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 74U)
				{
					if (num == 40U)
					{
						this.BMOBDFECHFF = input.ReadUInt32();
						continue;
					}
					if (num == 74U)
					{
						if (this.rogueMap_ == null)
						{
							this.RogueMap = new NewMapRot();
						}
						input.ReadMessage(this.RogueMap);
						continue;
					}
				}
				else
				{
					if (num == 96U)
					{
						this.GroupId = input.ReadUInt32();
						continue;
					}
					if (num == 106U)
					{
						if (this.motion_ == null)
						{
							this.Motion = new MotionInfo();
						}
						input.ReadMessage(this.Motion);
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04004C64 RID: 19556
		private static readonly MessageParser<RotateMapCsReq> _parser = new MessageParser<RotateMapCsReq>(() => new RotateMapCsReq());

		// Token: 0x04004C65 RID: 19557
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004C66 RID: 19558
		public const int MotionFieldNumber = 13;

		// Token: 0x04004C67 RID: 19559
		private MotionInfo motion_;

		// Token: 0x04004C68 RID: 19560
		public const int GroupIdFieldNumber = 12;

		// Token: 0x04004C69 RID: 19561
		private uint groupId_;

		// Token: 0x04004C6A RID: 19562
		public const int BMOBDFECHFFFieldNumber = 5;

		// Token: 0x04004C6B RID: 19563
		private uint bMOBDFECHFF_;

		// Token: 0x04004C6C RID: 19564
		public const int RogueMapFieldNumber = 9;

		// Token: 0x04004C6D RID: 19565
		private NewMapRot rogueMap_;
	}
}
